From: Alexandre Emsenhuber Date: Mon, 11 May 2009 15:32:51 +0000 (+0000) Subject: __FUNCTION__ -> __METHOD__ in SpecialRecentchanges::checkLastModified() X-Git-Tag: 1.31.0-rc.0~41820 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=641816b6f93a219a8dbb4a24a59b4a960e847c16;p=lhc%2Fweb%2Fwiklou.git __FUNCTION__ -> __METHOD__ in SpecialRecentchanges::checkLastModified() --- diff --git a/includes/specials/SpecialRecentchanges.php b/includes/specials/SpecialRecentchanges.php index 78843a802a..2972a7fb83 100644 --- a/includes/specials/SpecialRecentchanges.php +++ b/includes/specials/SpecialRecentchanges.php @@ -177,7 +177,7 @@ class SpecialRecentChanges extends SpecialPage { public function checkLastModified( $feedFormat ) { global $wgUseRCPatrol, $wgOut; $dbr = wfGetDB( DB_SLAVE ); - $lastmod = $dbr->selectField( 'recentchanges', 'MAX(rc_timestamp)', false, __FUNCTION__ ); + $lastmod = $dbr->selectField( 'recentchanges', 'MAX(rc_timestamp)', false, __METHOD__ ); if( $feedFormat || !$wgUseRCPatrol ) { if( $lastmod && $wgOut->checkLastModified( $lastmod ) ) { # Client cache fresh and headers sent, nothing more to do.